<%-- 
    Document   : index
    Created on : 2014-4-11, 13:50:05
    Author     : tengyu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        
        <%
            session.setAttribute("currentOrgCode", "01");
            session.setAttribute("currentOrgName", "超级");
            session.setAttribute("orgCode", "01"); //登录用户所属机构
            session.setAttribute("code", "01");//登录用户公司编码
            session.setAttribute("companyName", "超级用户");
            session.setAttribute("user", "super");//登录用户名
            session.setAttribute("userId", 1L);
            //session.setAttribute("userName", "超级用户");
            session.setAttribute("realName", "张三");
        %>
        <%response.sendRedirect("jsp/home/mmain.jsp");%>
    </body>
</html>
